/*
 * @Author: likang xie
 * @Date: 2020-09-10 16:51:30
 * @Purpose: 主样式
 */

@import "./basic.scss", "./position.scss", "./util.scss", "./reset.scss";

*,
view,
text,
scroll-view,
swiper,
swiper-item,
cover-view {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  word-break: break-all;
  -webkit-overflow-scrolling: touch;
  -webkit-tap-highlight-color: transparent;
  text-size-adjust: 100%;
}

html,
page {
  height: 100%;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  font-size: 28rpx;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  color: $u-main-color;

  ul {
    list-style: none;
  }

  audio,
  video,
  input,
  textarea {
    display: block;
    width: 100%;
    font: inherit;
    letter-spacing: inherit;
  }

  uni-image,
  cover-image,
  image,
  img {
    display: block;
    max-width: 100%;
    object-fit: cover;
  }

  uni-navigator,
  navigator {
    &.navigator-hover {
      background-color: transparent;
      opacity: 1;
    }
  }
}
